import request from '@/utils/request'
export default {
    //用户登录 获取tocken字符串
  submitLoginUser(member) {
    return request({
      url: `/educenter/member/login`,
      method: 'post',
      data: member
    })
  },
   //根据tocken获取用户信息
   getUserInfo() {
    return request({
      url: `/educenter/member/getMemberInfo`,
      method: 'get'
    })
  },
  //跳转到到二位码页面
  toCodeLogin() {
    return request({
      url: `/api/ucenter/wx/login`,
      method: 'get'
    })
  }
}